package bulidStream;

import java.util.stream.Stream;

/**
 * @Author wangtengyu
 * @Create 2018-06-06-16:19
 */
public class FunctionDemo {

    public static void main(String[] args) {
        Stream.iterate(0,n->n+2).limit(10).forEach(System.out::println);
    }
}
